﻿// // ******************************************************************
// //       /\ /|       @file       Auto_User.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-12-31 20:12
// //    *(__\_\        @Copyright  Copyright (c) , 2024-11-03 08:11 Await
// // ******************************************************************

namespace AutomaticSubtitles.Service.DataAccess.Model;

public class Auto_User : BaseModel
{
    public Auto_User()
    {
    }

    public Auto_User(string id) : base(id)
    {
    }

    /// <summary>
    /// 昵称
    /// </summary>
    public string NickName { get; set; }

    /// <summary>
    /// 账号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 电话
    /// </summary>
    public string? Phone { get; set; }

    /// <summary>
    /// 头像
    /// </summary>
    public string? Avatar { get; set; }

    /// <summary>
    /// 创建是啊金
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 最近登录
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 刷新密钥
    /// </summary>
    public string? RefreshToken { get; set; }

    /// <summary>
    /// 是否删除
    /// </summary>
    public bool IsDeleted { get; set; }

    /// <summary>
    /// 首负管理员
    /// </summary>
    public bool IsAdmin { get; set; }

    /// <summary>
    /// 是否冻结
    /// </summary>
    public bool IsFrozen { get; set; }
}